<template>
	<view class="content">
		<!-- 库存盘点 -->
		<!-- 列表 -->
		<view class="checkingList">
			<view class="msg" v-for="item in checkingList">
				<!-- //左图 -->
				<image src="../../../static/image/common/banner2.png"></image>
				<!-- //右 -->
				<view class="right">
					<view class="shop_msg">
						<view class="span">牛宝小蛋荷兰牛栏深度水解奶粉兰牛栏深度兰牛栏深度兰牛栏深度兰牛栏深度</view>
						<view class="num">
							<view class="">
								库存数量：
							</view>
						<view class="numMsg">
							10
						</view>
						</view>
					</view>
					<button class="report" type="default" @click="toNewreport">报差</button>
				</view>
			</view>
		</view>
		<!-- 确认盘点 -->
		<view class="Confirm">
			<button class="inventory">
				确认盘点
			</button>
			<view class="span">
				每月1号都需要进行盘点
			</view>
		</view>
		<!-- 占位 -->
		<view class="seat">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			// isNum: false;
			return {
				checkingList:[{},{},{},{}]
			}
		},
		onLoad() {},
		methods: {
			toNewreport:function(){
				uni.navigateTo({
					url:'./newReport'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.content{
		background: #F7F7F7;
	}
.checkingList{
	margin-top: 40rpx;
	.msg{
		width: 746rpx;
		height: 220rpx;
		position: relative;
		background: #FFFFFF;
		border-radius: 12rpx;
		margin-bottom: 10rpx;
		margin-left: 2rpx;
		display: flex;
		image{
			width: 154rpx;
			height: 160rpx;
			margin: 18rpx 20rpx 0 14rpx;
		}
		.right{
			display: flex;
			margin: 18rpx 0 0 0;
			.span{
				width: 423rpx;
				height: 42rpx;
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #333333;
				line-height: 35rpx;
				text-align: left;
				margin-bottom: 50rpx;
				overflow: hidden;
				text-overflow:ellipsis;
				white-space: nowrap;
			}
			.num{
				width: 320rpx;
				height: 42rpx;
				font-size: 26rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #999999;
				display: flex;
				.numMsg{
					color: #333333;
				}
			}
			.report{
				width: 128rpx;
				height: 60rpx;
				background: #0199FE;
				border-radius: 30rpx;
				line-height: 60rpx;
				font-size: 26rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #FFFFFF;
				text-align: center;
				position: absolute;
				bottom: 20rpx;
				right: 20rpx;
			}
		}
	}
}

.Confirm{
	width: 750rpx;
	height: 160rpx;
	background: #FFFFFF;
	position: fixed;
	bottom: 0;
	.span{
		font-size: 20rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #F24951;
		text-align: center;
	}
}
.inventory{
	width: 670rpx;
	height: 80rpx;
	background: #0199FE;
	border-radius: 40rpx;
	text-align: center;
	line-height: 80rpx;
	font-size: 28rpx;
	font-family: PingFang SC;
	font-weight: bold;
	color: #FFFFFF;
	margin: 20rpx auto;
}
.seat{
	width: 750rpx;
	height: 160rpx;
}
</style>